package com.lm.auth.feign;

import com.lm.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "lm-cloud-upms")
public interface UpmsFeignClient {

    @GetMapping("/user/getUserByName")
    Result<Map<String,Object>> getUserByName(@RequestParam String username);

}
